<template>
<div>
  <el-form ref="form" :model="form"   :inline="false" label-width="140px">
    <el-form-item label="单号" prop="serialNum">
      <el-input  :disabled="true" v-model="form.serialNum"   style="width: 200px"/>
    </el-form-item>
    <el-form-item label="申请人" prop="username">
      <el-input  :disabled="true" v-model="form.username"   style="width: 200px"/>
    </el-form-item>
    <el-form-item label="姓名" prop="serialNum">
      <el-input  :disabled="true" v-model="form.staffName"   style="width: 200px"/>
    </el-form-item>
    <el-form-item label="申请事项" prop="applicationItems">
      <el-input  :disabled="true" v-model="form.applicationItems"   style="width: 200px"/>
    </el-form-item>
    <el-form-item label="申请原因" prop="reason">
      <el-input  :disabled="true" v-model="form.reason"   style="width: 200px"/>
    </el-form-item>
    <el-form-item label="上传附件" prop="enclosure">
      <el-image
        style="width: 100px; height: 100px"
        :src="url+`${form.enclosure}`"
      ></el-image>
    </el-form-item>
    <el-form-item label="备注" prop="remark">
      <el-input  :disabled="true" v-model="form.remark"   style="width: 200px"/>
    </el-form-item>
  </el-form>

</div>
</template>

<script>

export default {
  name: "currency.vue",
  props:{form:Object},
  data(){
    return{
      url:process.env.VUE_APP_BASE_API,
    }
  }
}
</script>

<style scoped>

</style>
